package com.hxzy.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.dto.system.SysDeptSearchDTO;
import com.hxzy.entity.system.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDeptMapper extends BaseMapper<SysDept> {


    SysDept selectByPrimaryKey(Long id);

    /**
     * 查询
     * @param searchDTO
     * @return
     */
    List<SysDept> search(@Param(value = "dto") SysDeptSearchDTO searchDTO);
}